/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package io.renren.modules.yst.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 司机登记表单
 *
 * @author Mark lazyrm0720@gmail.com
 */

@Data
@ApiModel(value = "司机登录表单")
public class WorkerLoginForm {
    @ApiModelProperty(value = "姓名")
    @NotBlank(message="姓名不能为空")
    private String username;

    @ApiModelProperty(value = "身份证号码")
    @NotBlank(message="身份证号码不能为空")
    private String idCardNumber;

    @ApiModelProperty(value = "身份证件照片")
    @NotBlank(message="身份证号码不能为空")
    private String idCardNumberPic;

    @ApiModelProperty(value = "车号")
    @NotBlank(message="车牌号码不能为空")
    private String carNumber;

    @ApiModelProperty(value = "车牌照片")
    @NotBlank(message="车牌号码不能为空")
    private String carNumberPic;


    @ApiModelProperty(value = "卡号")
    @NotBlank(message="银行卡号不能为空")
    private String bankCardNumber;


    @ApiModelProperty(value = "开户行")
    @NotBlank(message="开户行不能为空")
    private String bankName;

}
